import java.util.LinkedHashMap;
import java.util.Map;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: ling
 * Date: 2023-04-07
 * Time: 12:57
 */
public class Test11 {
    public static void main(String[] args) {
        LinkedHashMap<String,Integer> map = new LinkedHashMap<String,Integer>(3,0.75f,true);
        map.put("1",2);
        map.put("2",3);
        map.put("4",5);
        map.get("2");
        for(Map.Entry<String,Integer> entry:map.entrySet())
        {
            System.out.println(entry.getValue());
        }
        try {
            int a = 2/0;
        } catch (Exception e) {
            e.printStackTrace();
        }
    }
}
